<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script src="<%=request.getContextPath()%>/js/cookie.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
	$(
		function () {
			var selected = $.cookie("select_nav");
			
			if (!selected) {
				selected = "index_class";
			}
			
			$("a[name='" + selected + "']").attr('id', "current");
			
			$("#nav_bar a").each(function (index){
				$(this).bind('click', function (){
					
					$("#nav_bar a").each(function(){
						$(this).attr('id', "");
					});
					
					$(this).attr('id', "current");
					
					$.cookie('select_nav', $(this).attr('name'), { expires: 7, path: '/'});
				});
			});
		}		
	);
//-->
</script>
<div class="top_divb">
<ul id="nav_bar">
	<li><a href="<%=request.getContextPath() %>/" name="index_class">首页</a></li>
	<li><a href="<%=request.getContextPath() %>/search/transer_search" name="find_transer_class">找翻译</a></li>
	<li><a href="<%=request.getContextPath() %>/search/project_search" name="find_pro_class">找项目</a></li>
	<li><a href="<%=request.getContextPath() %>/passport/index" name="passport_class">个人中心</a></li>
	<li><a href="#" name="material_class">外语资料</a></li>
	<li><a href="#" name="help_class">帮助</a></li>
</ul>

<!--div class="search"><select name="translate_select">
	<option>翻译人员</option>
	<option>翻译项目</option>
</select> <input type="text" class="search_txt" value="例如:中文 英文 多个关键字用空格分开" />
<button class="search_btn"></button>
</div-->
</div>